/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Module;

 /*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import java.io.Serializable;
import java.sql.Date;

/**
 *
 * @author Thor Erik
 */
public class Session implements Serializable{

    private int id;
    private int projectId;
    private String name;
    private String date;
    private String place;
    private String startTime;
    private String endTime;
    private String evaluation;
    private String preparation;

    public Session(int id){
        this.id = id;
    }

    public Session()  {
    }

    public Session(int id, int projectId, String name, String date, String place,String startTime, String endTime,
            String evaluation,String preparation) {
        this.id = id;
        this.preparation = preparation;
        this.projectId = projectId;
        this.name = name;
        this.date = date;
        this.place = place;
        this.startTime=startTime;
        this.endTime=endTime;
        this.evaluation=evaluation;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public int getProjectId() {
        return projectId;
    }

    public void setProjectId(int projectId) {
        this.projectId = projectId;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }


    public String toString(){
        return  "Sesjons ID: " + id +
                "\nProject ID: " + projectId + "\nNavn: " + name + "\nDato: " + date
                + "\nPlass: " + place;
    }

    public String getEvaluation() {
        return evaluation;
    }

    public void setEvaluation(String evaluation) {
        this.evaluation = evaluation;
    }

    public String getPreparation() {
        return preparation;
    }

    public void setPreparation(String preparation) {
        this.preparation = preparation;
    }

}

